exponential and logarithmic equations